export const dateOne = (e) => {
    let d = new Date(e)
     
    let Y = d.getFullYear()
    let M = d.getMonth() + 1
    let D = d.getDate()
    if (D < 10) {
        D = '0' + D
    }
    if (M < 10) {
        M = '0' + M
    }
    let date = Y + '.' + M + '.' + D
    return date;
}